fnmatch: Static analysis fixes
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 May 2021 11:33:49 +0000 (07:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 May 2021 11:44:38 +0000 (07:44 -0400)
gtk/fnmatch.c

index 87582cab692a5ca51f8d822954615b0f6b909f9b..fada2b7229e50f92ec10dc985992591df1d36575 100644 (file)
@@ -106,7 +106,7 @@ gtk_fnmatch_intern (const char *pattern,
            return FALSE;
 
          {
-           const char *last_p = p;
+           const char *last_p;
 
            for (last_p = p, c = get_char (&p);
                 c == '?' || c == '*';